GEF source code analysis (5) function separation of GEF editpart _ story of the advertisement Department of multinational fashion Media Group
Next we will use a story to solve the problems left behind by article 3:
An editpart of a triangle image already exists. We want to reuse it, but we also need to add (or delete) the adjustable border feature. How can we ensure that a new editpart does not need to be created, or are there countless sub-editpart classes when the functions are combined?
How does the framework automatically complete the Undo and redo functions?
said in a multinational fashion media group China Advertising department (this is an advertising company mainly engaged in print advertising, I heard that the chairman of the board is a hundred years old man, Mr. graphicaleditor, from the famous eclipse fund Consortium ), there are currently two main sub-departments editpart ( advertising planning department ) and figuer ( Graphic Design Department ) .
EditpartThe Minister is a middle-aged Mr. graphicaleditpart with confidence and vigor.
FiguerThe Minister is an advertiser designer with the same name as the department.FigureMiss.
EditpartMinister graphicaleditpart currently has three main responsibilities:
- ProcessModelPersonnel send advertising demands from various sales departments;
-
- Deliver specific graphic design plansFigureMiss,FigureYoung lady is responsible for drawing passionate print ads;
- Reading customer requirements and feedbackRequestInstruments, these instruments are composedTool(Intelligence collection department) collects customer feedback and requirements, which are organized and classified professionally (we have discussed this article)
As the company expanded its business, the types of products invested in the market increased by three times than before,EditpartThe Minister's work has become very busy and a little overwhelmed. He feels like he is an elderly donkey with heavy loads all day. "Is he old?" Mr. graphicaleditpart often began to doubt himself.
This day,EditpartThe Minister received a letter from the Headquarters:
Mr. graphicaleditpart:
On behalf of the company, I would like to thank you for your hard work and outstanding work over the years. Our company's turnover in China has quadrupled in just three years. Editpart During this period, the Chinese Department won the most dynamic Department Award, which is inseparable from your efforts. We understand that you are Editpart In the past three years, the Department has implemented several innovative system reforms, such as the establishment Tool The intelligence collection department has greatly improved the entire company Editpart Department business processing capability. To further expand its business, the company will expand in the next two years around the world, especially in China. 40% As you know Editpart There are still many imperfections in the organization planning and Responsibility System of departments, which will be very detrimental to the expansion plan of regional departments. Therefore, I entrust you to prepare a plan for future advertising department. At the end of this month, you will be invited to the headquarters to participate in the review of the planning and change plan. At that time, your plan will be reviewed. If you pass the review, all advertising departments of the company will make changes according to your plan.
We wish the world a better stage for tomorrow, with passion and imagination.
CEOGEF
"Oh! This letter is really timely. if I continue to do so, I will be overwhelmed and I have to seek another job. Well, I want to write this plan well this time. In this way, there is hope to reduce the burden. I want to present a big picture with my boss's appreciation ." Graphicaleditpart couldn't help but pat the table and talk to itself. With his arms open, he glared up on the back of the chair. Then, with a deep breath, the pressure on his eyes and eyes seemed to disappear for a moment, he put on his cool sunglasses and opened them in a whisper.CDOh, on the night of Hawaii, I felt like I was lying on a golden, soft, warm beach in Hawaii with sunglasses, whistling, and the sun shining like a fire crossed the sunglasses and crossed the eyelids, bring a few blurred rays into your eyes (in fact, his high-watt chandelier), sea breeze study (the electric fan next to it), and enjoy the feeling of quiet heaven for a moment, and the passion and creativity keep flowing out, ah, it's a long time ago.
Start it! Quickly open his favorite brain Chart Software-- Mindjet Manager, Record the ideas in the brain, and draw the following plan points
:
It seems that Mr. graphicaleditpart is going to do a big job. For details, please refer to the next decomposition.